import request from '@/utils/request'

// 用户登录
export function login(data) {
  return request({
    url: '/api/Auth/login',
    method: 'post',
    data
  })}

  //用户注册
  export function register(data) {
    return request({
      url: '/api/Auth/register',
      method: 'post',
      data
    })
  }
